Crate shuttle_service
source ·Re-exports
pub use error::CustomError;
pub use error::Error;
Modules
- Types representing various errors that can occur in the process of building and deploying a service.
Structs
- Holds the details for a database connection
- Holds the input for a DB resource
- Store that holds all the secrets available to a deployment
- Project names should conform to valid Host segments (or labels) as per IETF RFC 1123. Initially we’ll implement a strict subset of the IETF RFC 1123, concretely:
Enums
- Holds the output for a DB resource
- This which environment is this deployment taking place
Constants
Traits
- Factories can be used to request the provisioning of additional resources (like databases).
- Used to get resources of type
T
from factories. - The core trait of the shuttle platform. Every crate deployed to shuttle needs to implement this trait.